[paket]
tanim   = Linux için çekirdek tabanlı otomatik bağlayıcı
paketci = milisarge
grup    = sistem
url     = https://www.kernel.org/pub/linux/daemons/autofs

[gerek]
derleme = kmod rpcsvc-proto libxml2 krb5 openldap
calisma =

[kaynak]
xz      = ${KERNEL_SITE}/daemons/autofs/v5

[sha256]
1       = a36b268611b79b07051749870ba540b139938efc84bc0293244c483e94f9ced7

[derle]
betik   = sed -i 's,nfs/nfs.h,linux/nfs.h,g' */*.[ch]
betik   = sed -i 's,__S_IEXEC,S_IXUSR,g' */*.[ch]
betik   = sed -e "s@/etc/@/etc/autofs/@g" -i samples/auto.master
betik   = export M4=m4
betik   = ./configure --prefix=/usr --sysconfdir=/etc/autofs --sbindir=/usr/bin --with-mapdir=/etc/autofs --with-confdir=/etc/default --without-hesiod --enable-ignore-busy --with-libtirpc
betik   = LC_ALL=C make

[pakur]
betik   = make INSTALLROOT="${PKG}" install install_samples
betik   = install -dm755 "$PKG/etc/autofs/auto.master.d"
